package com.swx.identityservice.service.impl;


import com.swx.identityservice.mapper.ScbpDeptUserMapper;
import com.swx.identityservice.models.ScbpDeptUser;
import com.swx.identityservice.service.ScbpDeptUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LC
 * @version V1.0.0
 * @date 2018-5-31 16:05
 */


@Service
public class ScbpDeptUserServiceImpl extends CrudServiceImpl<ScbpDeptUser> implements ScbpDeptUserService {

    @Autowired
    private ScbpDeptUserMapper scbpDeptUserMapper;
    @Override
    public int deleteurByUserId(Integer userid) {
        return scbpDeptUserMapper.deleteurbyuserid(userid);
    }
}
